import { Component } from '@angular/core'
import { AdConfirmService } from 'monk-design'
import { DemoBasicCustomComponentComponent } from './basic-custom-component.component'

@Component({
  selector: '{{selector}}',
  template: `<button mat-stroked-button (click)="customComponent()">自定义组件</button>`,
})
export class DemoBasicComponent {
  constructor(private confirm: AdConfirmService) {}
  customComponent() {
    this.confirm.warning(DemoBasicCustomComponentComponent)
  }
}
